<template>
  <div class="btn-group">
    <div class="btn-cancel" @click="$emit('close')">
      {{ closeName }}
    </div>
    <div class="btn-confirm" @click="$emit('submit')">
      {{ submitName }}
    </div>
  </div>
</template>

<script setup>

defineProps({
  closeName: {
    type: String,
    default: "取消"
  },
  submitName: {
    type: String,
    default: "提交"
  },
});
defineEmits(["submit", "close"]);
</script>

<style lang="less" scoped>
@import "./index.less";
</style>
